Generate or edit an image with FLUX.2 [klein] 9B (preview)
Submits an image generation or editing task with the FLUX.2 [klein] 9B preview endpoint, where our latest quality and speed improvements land first. For stable production use, prefer FLUX.2 [klein] 9B (/flux-2-klein-9b).
Preview endpoint for FLUX.2 [klein] 9B. For stable production use, start with FLUX.2 [klein] 9B. See which model to use.Documentation Index
Fetch the complete documentation index at: https://docs.bfl.ml/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Body
Input model for FLUX.2 Klein (non-base) - like Pro but max 4 images.
Text prompt for image generation.
"ein fantastisches bild"
Path to the input image.
Path to the second input image.
Path to the third input image.
Path to the fourth input image.
Optional seed for reproducibility.
42
Width of the image
x >= 64Height of the image
x >= 64Tolerance level for input and output moderation. Between 0 and 5, 0 being most strict, 5 being least strict. If you wish to increase the safety_tolerance beyond these levels please reach out to the team.
0 <= x <= 5jpeg, png, webp URL to receive webhook notifications
1 - 2083Optional secret for webhook signature verification

